package com.xuwang.pojo;

import java.sql.Timestamp;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (Disinfect)实体类
 *
 * @author smallseven
 * @since 2021-09-17 16:16:37
 */
@ApiModel(value = "Disinfect",description = "$tableInfo.comment")
public class Disinfect implements Serializable {
    private static final long serialVersionUID = -71210406047326315L;
    /**
    * id
    */
	@ApiModelProperty(name = "id",notes = "id",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 企业id
    */
	@ApiModelProperty(name = "companyId",notes = "企业id",dataType = "Integer",required = true)
    private Integer companyId;
    /**
    * 消毒内容
    */
	@ApiModelProperty(name = "disinfectContent",notes = "消毒内容",dataType = "String",required = true)
    private String disinfectContent;
    /**
    * 消毒时间
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ApiModelProperty(name = "time",notes = "消毒时间",dataType = "Date",required = true)
    private Timestamp time;
    /**
    * 消毒人员id
    */
	@ApiModelProperty(name = "disinfectUserId",notes = "消毒人员id",dataType = "Integer",required = true)
    private Integer disinfectUserId;

	private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getDisinfectContent() {
        return disinfectContent;
    }

    public void setDisinfectContent(String disinfectContent) {
        this.disinfectContent = disinfectContent;
    }

    public Date getTime() {
        return time;
    }


    public void setTime(Timestamp time) {
        this.time = time;
    }

    public Integer getDisinfectUserId() {
        return disinfectUserId;
    }

    public void setDisinfectUserId(Integer disinfectUserId) {
        this.disinfectUserId = disinfectUserId;
    }

}
